{% extends "base.html" %}

{% block title %}服务指南 - 图书管理系统{% endblock %}

{% block content %}
<div class="container mt-5">
    <div class="card shadow">
        <div class="card-header bg-warning text-dark">
            <h3><i class="fas fa-info-circle me-2"></i>服务指南</h3>
        </div>
        <div class="card-body">
            <h4 class="mb-4"><i class="fas fa-clock me-2"></i>开馆时间安排</h4>
            <div class="table-responsive mb-4">
                <table class="table table-bordered">
                    <thead class="table-light">
                        <tr>
                            <th>星期</th>
                            <th>开放时间</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>周一至周五</td>
                            <td>8:30 - 21:00</td>
                        </tr>
                        <tr>
                            <td>周末及节假日</td>
                            <td>9:00 - 17:00</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            
            <h4 class="mb-4"><i class="fas fa-map-marker-alt me-2"></i>馆内布局指引</h4>
            <div class="row mb-4">
                <div class="col-md-6">
                    <div class="card">
                        <div class="card-body">
                            <h5 class="card-title">一楼布局</h5>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item">A区 - 文学类</li>
                                <li class="list-group-item">B区 - 历史类</li>
                            </ul>
                        </div>
                    </div>
                </div>
                <!-- 更多楼层信息... -->
            </div>
            
            <h4 class="mb-4"><i class="fas fa-question-circle me-2"></i>常见问题解答</h4>
            <div class="accordion mb-4" id="faqAccordion">
                <div class="accordion-item">
                    <h2 class="accordion-header">
                        <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faq1">
                            如何办理借书证？
                        </button>
                    </h2>
                    <div id="faq1" class="accordion-collapse collapse show" data-bs-parent="#faqAccordion">
                        <div class="accordion-body">
                            请携带身份证和学生证/工作证到一楼服务台办理。
                        </div>
                    </div>
                </div>
                <!-- 更多FAQ... -->
            </div>
        </div>
        <div class="card-footer text-end">
            <a href="{{ url_for('annotate.index') }}" class="btn btn-warning">
                <i class="fas fa-arrow-left me-1"></i>返回公告列表
            </a>
        </div>
    </div>
</div>
{% endblock %}
